/* 登录页面样式 */
.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #e2e2e2 0%, #fafafa 100%);
  padding: 0 40rpx;
  display: flex;
  flex-direction: column;
  position: relative;
}


/* 表单区域 */
.form-section {
  flex: 1;
  background: #ffffff;
  border-radius: 32rpx 32rpx 0 0;
  padding: 60rpx 40rpx 40rpx;
  box-shadow: 0 -8rpx 32rpx rgba(0, 0, 0, 0.1);
  margin-top: 10%;
}

/* 输入框组 */
.input-group {
  margin-top: 80rpx;
  margin-bottom: 40rpx;
}

.input-label {
  display: flex;
  align-items: center;
  margin-bottom: 16rpx;
}

.label-icon {
  font-size: 32rpx;
  margin-right: 12rpx;
}

.label-text {
  font-size: 28rpx;
  color: #333333;
  font-weight: 500;
}

.input-field {
  width: 100%;
  height: 88rpx;
  background: #f8f9fa;
  border: 2rpx solid #e9ecef;
  border-radius: 16rpx;
  padding: 0 24rpx;
  font-size: 30rpx;
  color: #333333;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.input-field:focus {
  border-color: #667eea;
  background: #ffffff;
  box-shadow: 0 0 0 4rpx rgba(102, 126, 234, 0.1);
}

.input-placeholder {
  color: #999999;
  font-size: 28rpx;
}

.input-field.error {
  border-color: #ff4757;
  background: #fff5f5;
}

.error-text {
  color: #ff4757;
  font-size: 24rpx;
  margin-top: 8rpx;
  display: block;
}

/* 忘记密码 */
.forgot-password {
  text-align: right;
  margin-bottom: 60rpx;
}

.forgot-link {
  font-size: 26rpx;
  color: #667eea;
  text-decoration: underline;
}

/* 登录按钮 */
.login-btn {
  width: 100%;
  height: 88rpx;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  border: none;
  border-radius: 16rpx;
  font-size: 32rpx;
  font-weight: 600;
  margin-top: 160rpx;
  margin-bottom: 40rpx;
  box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.3);
  transition: all 0.3s ease;
}

.login-btn:active {
  transform: translateY(2rpx);
  box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.3);
}

.login-btn.disabled {
  background: #cccccc;
  box-shadow: none;
  transform: none;
}

/* 微信登录按钮 */
.wechat-login-btn {
  width: 100%;
  height: 88rpx;
  background: #ffffff;
  color: #333333;
  border: 2rpx solid #e9ecef;
  border-radius: 16rpx;
  font-size: 30rpx;
  font-weight: 500;
  margin-bottom: 40rpx;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.wechat-login-btn:active {
  background: #f8f9fa;
  transform: translateY(2rpx);
}

.wechat-icon {
  font-size: 32rpx;
  margin-right: 12rpx;
}

.wechat-text {
  font-size: 30rpx;
}

/* 注册区域 */
.register-section {
  text-align: center;
  margin-bottom: 40rpx;
}

.register-text {
  font-size: 28rpx;
  color: #666666;
}

.register-link {
  font-size: 28rpx;
  color: #667eea;
  font-weight: 500;
  margin-left: 8rpx;
  text-decoration: underline;
}

/* 协议区域 */
.agreement-section {
  text-align: center;
  padding: 20rpx 0;
}

.agreement-text {
  font-size: 24rpx;
  color: #999999;
}

.agreement-link {
  font-size: 24rpx;
  color: #667eea;
  text-decoration: underline;
}

/* 响应式适配 */
@media screen and (max-width: 750rpx) {
  .login-container {
    padding: 0 30rpx;
  }
  
  .form-section {
    padding: 50rpx 30rpx 30rpx;
  }
  
  .logo-section {
    padding: 100rpx 0 60rpx;
  }
  
  .app-name {
    font-size: 44rpx;
  }
}

/* 动画效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30rpx);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-section {
  animation: fadeInUp 0.6s ease-out;
}

.input-group {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.input-group:nth-child(1) {
  animation-delay: 0.1s;
}

.input-group:nth-child(2) {
  animation-delay: 0.2s;
}

.forgot-password {
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.login-btn {
  animation: fadeInUp 0.6s ease-out 0.4s both;
}

.wechat-login-btn {
  animation: fadeInUp 0.6s ease-out 0.5s both;
}

.register-section {
  animation: fadeInUp 0.6s ease-out 0.6s both;
}

.agreement-section {
  animation: fadeInUp 0.6s ease-out 0.7s both;
}
